package cn.tedu.springmvc.config;

import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.servlet.config.annotation.WebMvcConfigurer;

@Configuration  //此注解不是必须
@ComponentScan("cn.tedu.springmvc") //必须配置在当前配置类中,不可配置在Spring的配置类中
public class SpringMvcConfig implements WebMvcConfigurer {
}
